import {HTTP} from '../utils/http'

class SpecialApi extends HTTP {
    /**
     * 查询专项菜单
     * @param data
     * @returns {Promise<unknown>}
     */
    getMenuList(data){
        return this.request({
            url: 'sp-special-menu/getMenuList',
            data: data,
            method:'post'
        })
    }

    /**
     * 查询专项详细
     */

    getSpecialDetails(data){
        return this.request({
            url: 'sp-special-teaching/spTeaching',
            data: data,
            method:'post'
        })
    }

    /**
     * 查询专项所有列表
     */
    getSpecialList(data){
        return this.request({
            url: 'sp-special-teaching/spTeachingLike',
            data: data,
            method:'post'
        })
    }

    /**
     * 查询专项所有三级
     */
    spTeachingThirdMenusList(data){
        return this.request({
            url: 'sp-special-teaching/spTeachingThirdMenusList',
            data: data,
            method:'post'
        })
    }

    /**
     * 查询专项听诊
     *
     */
    getSpecialSound(data){
        return this.request({
            url: '/sp-special-teaching/getSpecialSound',
            data: data,
            method:'post'
        })
    }
}

export default new SpecialApi()
